<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="费用记录" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script language="javascript">
	function showMe(){
		if(parent.document.getElementById("detailFrm")!=null){
			parent.document.getElementById("detailFrm").style.height=document.body.scrollHeight+"px";
		}
	}
</script>
</head>
<body style="margin:0px;padding:0px;" oncontextmenu="return false" onLoad="showMe();"   class="sheet">
<div class="sheet-main" style="width:980px">
	  <div class="sheet-list">
			  <div class="table-list" >
			   <fieldset class="det_fieldset "> <legend class="mag10">费用记录</legend>  	
			     <table width="100%" align="center">      
							<tr>
								<th width="10%">日期</th>
								<th width="20%">单号</th>
								<th width="10%">金额</th>
								<th width="30%">备注</th>
								<th width="15%">经办人</th>
								<th width="15%">部门</th>
							</tr>
							<c:forEach var="item" items="${items}">
							<tr>
								<td><fmt:formatDate value="${item[1]}" pattern="yyyy-MM-dd"/></td>
								<td>${item[2]}</td>
								<td>${item[0].cost}</td>
								<td>${item[0].mark}</td>
								<td>${item[3]}</td>
								<td><commonTag:showSimpleObjectName list="${departmentList}" objectId="${item[4]}" /></td>
							</tr>
							</c:forEach>
				   </table>
			   </fieldset>
			  </div>
			</div>
</div>
</body>
</html>